fix memory leak, which appears in case of multiple parallel requests 

In the case of simultaneous request the number event listeners on res.connection 'end' increases, depending by the amount of traffic. This patch will avoid this behavior.