Fixes bug where you wouldn't exit immediately on epoll.
Fixed silly memory leak.

Valgrind says we're clean :-)