add one more check when stopping a thing