Fix off crash
Merge pull request #17 from segmentio/fix/off-crash

Fix off/removeListener call