Fix for https://issues.apache.org/jira/browse/AMQ-5174 

- Cannot use the `JDBCIOExceptionHandler` when `KahaDB` is configured to use a `lease-database-locker`.