MULE-7741: Add reconnection support for database connector

_ Fixed test setup that was retuning every available datasource instead of just Derby's
Merge pull request #1016 from mulesoft/MULE-7741

MULE-7741: Add reconnection support for database connector