add instance to running instances in loop not later