Atomically set CLOEXEC on the dummy socket in invalidate_fd if possible