MULE-7491: JDBC reconnect policy is not working when setting blocking=true

Improving test case
(cherry picked from commit ac87ec4)
MULE-7534: JMS connector doesn't reconnect to ActiveMQ broker 5.6 when using blocking=true

Fixed flaky test
(cherry picked from commit b3c156e)