Consider handling specific exception in the Client.connect: ```kotlin override suspend fun connect(transport: Transport) { // ... } catch (error: Throwable) { close() throw error } } ```