implemented Client::close