Or you can try ThreadPoolExecutor
ThreadPoolExecutor
from concurrent.futures import ThreadPoolExecutor
since it has the same api you don't need to change anything and it runs your code in the same process so need for serializer