create_core should wait for the child to be done writing the core