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

Improving test case
(cherry picked from commit ac87ec4)
(cherry picked from commit c11cf80)