if you would like program to exit before child finish processing you must set:
curr_thread.daemon = True
Daemon threads in Python operate in the background, running concurrently with the main program. Their distinctive feature lies in their non-blocking nature, allowing the main program to proceed without waiting for their completion.
It means that main thread will not wait for daemon thread.
In this case main thread will sacrifice its child.