Windows: Prevent pioctl races from crashing afsd_service