Mosh will reconnect by default, no additional configuration should be done for that.
As for your case, I suspect one of the following:
1. mosh daemon has died on the server side for some reason. Check if it's still running.
2. Somehow the UDP port mosh uses has been blocked. It might be a problem in the router between the client and the server, or a problem in the network configuration on either side.