Empty queue on flush even if exceptions occur
Merge pull request #35 from ddeboer/error-requests-queue

Empty queue on flush even if exceptions occur