reconnect client if server has disconnected