Handle timeouts on the server