Dispatch any buffered events and flush any buffered requests before calling poll ()

Fixes Issue #2