Resolve "scan groups and caching race condition"
Closes #2415 (closed)
Do not disconnect CachingRedisDbConnectionPool
when disabling caching as there may be ongoing commands (in particular the ScanGroup
is accessing the scan node and its children when adding the scan to the group).