exit phantom process when processing is done