set $empty on completion of all task types