fix: sometime hangs on windows