Re-use std::os::close