ADDED: Ping and reconnect procedures.