Minor correction to the README. The 'close'-event is seemingly called 'end'.

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.