make flush queue on abort optional