Made agent pass worker a process ID to receive exit event

Addressing issue #14 by passing agent PID to workers.