Bug where workflows never terminate fixed.