fix double "end" callback
cleanup 2nd "error" listener. fixes #4
1.1.2