Create 'stop' condition for loop, service debugging