If the connection to the server is interrupted during the game, you will not lose your money. Information about each game is saved separately, and even in case of an error, the data can be easily restored.