clean write queue on fatal failure