Fix pause/resume

Since a new frame was being requested for every 'data' event the process was unable to exit due to unfinished timers. This change makes the emitter stop requesting subsequent frames if the it has been paused, and resumes requesting frames on `resume()` (if paused).