add: file::close, socket::shutdown