For ENG-5025, make sure when a generation is truncated that all the post truncation tasks finish before continuing