DESC Check if fds exist before closing them. EDESC In jclose(), before closing the descriptors check if they're opened to avoid unnecesary close() calls. They don't harm, but it looks cleaner if we don't do them (and makes straces easier to follow).