Fixes #5044: Web response is optimized to flush early and use fastcgi_finish_request