Fix a request handler test from throwing ECONNRESET