diff --git a/lib/proxy.js b/lib/proxy.js
index <HASH>..<HASH> 100644
--- a/lib/proxy.js
+++ b/lib/proxy.js
@@ -68,15 +68,10 @@ function proxyRequest(req, res, rule) {
   };
 
   // get a ProxyServer from the cache
-  router = createRouter(target);    
-
-  // handle any errors returned by the target server
-  router.on('error', errorCallback);
+  router = createRouter(target);
 
   // proxy the request
-  router.web(req, res);
-
-  router.removeListener('error', errorCallback);
+  router.web(req, res, errorCallback);
 }
 
 // factory method to cache/fetch HttpProxy instances
fix for handling network errors when proxying