fix memory leak error of req.on('socket')