Solution: use regular zmq_socket instead in thread functions
Attach a file by drag & drop or click to upload