Add RUN_AT_EXIT_HOOKS support to resque-pool