When a transaction fails, most of the time there is a temporary problem within the blockchain network itself and not on our end. If a transaction has failed, you won't be deducted the JMPT amount for gas fees.
Just simply retry the transaction and it should be successful the second time you try it.
If your transaction is pending for more than 10 minutes, it will be auto-canceled after an hour. After that, you will be able to re-submit it again. (You will not be charged a gas fee for the transaction that failed)