smarter stop of resque