updated ipc init code to allow both publisher and subscriber to init the same channel