changed reference error in event 'fork' callback to reference thread not post