Insert process to parent process list if list is not null.