MULE-7741: Add reconnection support for database connector

_ Applying code review improvements