Fix issues with wait_for_tasks()
#68
+123
−17
Merged
wait_for_tasks()
#68