Add error handling around peerConnection and dataChannel.