Workaround fix for multi-worker gunicorn