Force to set the publisher before starting the ws

It took me ages to find a second leak that I introduced fixing the original