You can get rid of the line above along with the call to _connection.MarkActive(); once you set _lastActiveAt in Connection.StartTransport().