Check database connection at configurable interval.
Merge remote-tracking branch 'integration/master'