added sleep before rechecking for running instances