Handling peerRequest error and initial peerRegistry lookup, closing sockets on errors