return server instance if open_browser=false