Wait for server startup