Debugging gunicorn restart issues