fix process guard

check if process group id is in our list of spawned process groups
pgid_list is always empty