Store the default queue to a file when stopping the queue.