When a fold is interrupted partway through a spin
A lost connection or a closed tab during a spin never costs you a round: each result is stored on the server first and no request number is played twice.
The paper is folded before the reels move
Pressing Spin sends our server the fold, the play amount and a request number created for that one press. The server draws the result, saves it together with your new balance, and only then tells the reels what to show.
If the connection to the paper town drops
Say your connection fails, or you close the tab, while the reels are still turning. The round is unaffected, because it was settled and saved before any animation began. When you come back the stored result, award included, is already in your balance.
One request number, one folded round
An unsteady connection sometimes sends the same request twice. The server spots the repeated number and returns the result it already holds, so the play amount is taken once and only one round ever exists.
A whole free-spin feature settled as one sheet
Free spins are no exception. The spin that triggers them and every spin they contain are settled together in one go, and the sum is filed before the first one plays. If your screen freezes partway through, nothing is lost: the credits are in your balance when you return.