Added 5 launched tasks as exit criterior.