relax to Proc.new for Resque hooks