prevent service from running itself few times in a row