Added a unit test
Fixed an emit "free" issue
Using recursive timeouts instead of intervals
Bump