reverted make-thread in update-publisher and refactored setup-tcpros-subscription