title: Python - How to use FastAPI and uvicorn.run without blocking the thread?
body: <p>I'm looking for a possibility to use uvicorn.run() with a FastAPI app but without uvicorn.run() is blocking the thread. I already tried to use processes, subprocessesand threads but nothing worked.
  My problem is that I want to start the Server from another process that should go on with other tasks after starting the server. Additinally I have problems closing the server like this from another process.</p>
  <p>Has anyone an idea how to use uvicorn.run() non blocking and how to stop it from another process?</p>