Corrected on('close' ...) to on('end' ...) in the advanced usage example

Just a minor type miss print in the README.md. Seemingly it will never trigger the 'close'-event, but the 'end'-event works just fine.