Added topic unsubscription to memory engine