Fix: added missing ngx_http_finalize_request() to prevent keep-alive connection stalling in some cases