wait() command added to subproccesses in looper