Wait for server