Add clearup when finish stale task.