Clean up WebRTC before submitting a new offer

I want to send a second sdp offer after one of the two peer has disconnected. But the second offer generated appears to be a light version (half the number of line of the first offer) and therefore no answer sdp could be generated from the second peer. Is there a way to clean up webrtc after disconnect to allow submission of a second offer?

Thanks for your help

Problem solved. Got an answer on github