use local connections when possible; exisiting local connection code had a bug
Merge pull request #1253 from control-center/feature/CC-379-file_descriptors

use local connections when possible; exisiting local connection code had...