the persistence queue is now drained before shutting down