Peer connection loop thread