class Parallel::Worker

def wait

def wait
  Process.wait(pid)
rescue Interrupt
  # process died
end