Guards critical sections of the connection cycle (connect/disconnect).
@protected final Lock lock = Lock();