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

Fixing compilation problem in test because of cherry pick