BrokerConnection dispose pattern