make sure the response is end()'ed