fixes CC-355: close rpc client after each pool discovery attempt
Merge pull request #1217 from control-center/feature/CC-355

fixes CC-355: close rpc client after each pool discovery attempt