* fixes ZEN-14322, ensure that flush calls are not interleaved
use defer.returnValue instead of raising StopIteration
Merge pull request #393 from zenoss/feature/ZEN-14322

* fixes ZEN-14322, ensure that flush calls are not interleaved