I am developing a FastAPI project with SQLAlchemy. On a POST request, I start a background task for scanning a domain, scanning is performed using a self-written module, fro