https://helperbyte.com/questions/339877/the-completion-of-the-parent-process-does-not-terminate-child