tasks.py does not work when single core