I\'m running this socket daemon thread on Python 3.x. From my understanding, the daemon thread should exit immediately when main thread exits. However, when I run the following