Empty queue on flush even if exceptions occur

As discussed in #34.