reconnection for both modules for resque