Fix issue 2, tasks continue running on windows