Wait for task to exit even in kill case (busy unmounts may occur).