moved delayed job delete method to lib/helper.rb