Add SQL and MongoDB DAO connection broken detection and reconnect API