Introduce a context manager to allow better control of the engines lifecycle and shutdown. Eventually document how to create a FastAPI lifecycle handler (not in scope of this package but it should be a few lines we can add to the HTTP docs)