Fix bug in merge() function

If output stream is destroyed input streams are now properly destroyed, too
3.1.3
Merge branch 'fix-merge-bug' of github.com:justphil/event-stream
3.1.4