tested multiprocessing with uwsgi, which worked fine