implements queueing failed events