Gracefully shutdown uwsgi