added exit_requested flag to process_obj, modify get_pids_from_meta