fastapi lifespan vs startup