[sr-dev] git:master:1051a1bb: htable: close db connection in some error cases for rpc command