BUG: checkIceConnectionState does not fire after ICE connection is disconnected or closed.
BUG: Syntax error after bug fixes