added vim undos
fixed typo - fixes #395
Remove handler on ioloop error.

This happens frequently when the other end of the pipe dies, and
currently causes circusd to spin on the handler in a busy loop.