Create multiple instances and wait for their completion

@moritzs , check the reply to my inquiry in this topic: