exception handling fix in publish_socket::publish
Reviewed exception handling after re-appearance of seg-fault observed in P1
GitLab jobs artifacts no longer stored forever as of Monday, November 4th 08:30h. Further information under https://cern.ch/otg0152576
Reviewed exception handling after re-appearance of seg-fault observed in P1