Wait for server starts.