Replace an infinite loop with following conditions. 1. Exit after waiting for 10 mins OR sub-workflow to finish i.e. presence of monitord.done file
Merge branch 'master' of https://github.com/pegasus-isi/pegasus