Make sleep the client instead of the server.