libwinpr-utils: fix deadlock in PubSub