Make clients closeable

Make generated clients (from swift-generator) inherit from Closeable, so that close() method is accessible.