If the bet is made, and the game freezes, which rarely happens in practice, you will not have to count on a refund. If the user did not have time to put the required amount, the money will remain on the balance.