Modernize RTCPeerConnection handling of pendingActivity