tsan: fix Windows Go crash