Make ensure_server async