Register on child process to avoid race conditions