recover task queue, close #1, close #3