only catch the Resque exception if Resque is defined
version bump: v2.3.1