Gunicorn Flask server terminating the last request with “Connection closed without response”
The Gunicorn Flask server on Heroku terminates the last request before restarting the worker, resulting in a 503 error: “Connection closed without response.”