CLC-2055 (QA) Based on load tests, stale db conns need more frequent flushes

https://jira.media.berkeley.edu/jira/browse/CLC-2055

QA branch version of #1272