Fixes another event handler leak.

It turns out 'error' handlers were leaking as well, although more slowly.
Merge pull request #10 from drob/handler-leak

Fixes another event handler leak.