use Resque if defined