[bugfix] taskpool.tasks-- when task popped