Avoid firing onicecandidate and other events after PC.close() is called.