Revert "support multithread patch on Windows"

This reverts commit 929a11b0224d8591f40fb27fb5046e8e9c249006.