Register, if it's needed, before emitting ua 'connected' event