Conn. Refused Error in Multiprocessing

I am trying to put a Pytorch Tensor in a torch.multiprocessing.Queue in a sub process and retrieve it on the main process, but get an error with everything that I try. Is this possible to do?