[Bug 43902] New: close() on a closed fd should set errno to EBADF