Fix embedded server startup