Further work on implementing events, it seems that
multiprocessing.Event can't be put in a Manager so I'll have to
use pipes on the worker nodes as a replacement, when the event has
to be set, just send something through a pipe, and the waiting side
is waken up