tsan: fix potential false positive race on fd