passing peerRegistry into peer_socket
Fixed cluster runner