fix resque connection issue