If the internet gets disconnected on the server or the client does this library provide an automatic way to restart/reconnect everything cleanly?