Track auto tasks using a counter
Add queue.pause() and queue.resume()