Update jsdoc comments in pubsub to explain socketToOmit.