remove from queue on error