raise tcli_connection_error instead of runtime_error when connection fails