[CLC-1495] Wrapping connections with connection_pool.with_connection, clearing active connections on logout and finished cache warming
Merge pull request #858 from yuhunglin/CLC-1495c

[CLC-1495] Wrapping connections with connection_pool.with_connection, clearing active connections on logout and finished cache warming