ISPN-3365 Fix failing DatabaseStoredIndexTest by using a keepalive database connection instead of relying on timeouts