I created new thread using "threading" module
(inherited threading.Thread) and started new thread
as non daemonic. After main module was finished, all
the application was closed.
My desktop python doesn't close an application if
there are active non daemonic threads.