Call ngx.eof() after sending body

Housekeep code runs after the response
is written so this will prevent the client
from having to wait around for that work
to be done by sending the closing packet
to the client as soon as the response is
written in full.