add Verbose flag for debug logging; fix connection caching bug (add
test)