add resque scheduler and retry