check req.on end/close event
check req.on close event
Merge branch 'master' into pkg-release-windows