move the redis pub/sub from the core to the hal plugin