File Event waiting for end of parallel tasks indefinetely