Hot reloads don't pause background tasks

I’ve created a custom background task to start a single job thread (which will loop indefinitely), this thread will not be paused after sanic hot reload when I change the code, and I want to create a custom function for developers to define what needs to be done before hot reload


async def Start():
    overview_Thread = threading.Thread(target=overview_Thread_Main, args=(JSON))


Where and in what context are you starting that task?