The `preparedStatement.close()` call hangs when attempted after an exception occurs during the `executeBatch()` operation with the Redshift JDBC driver.
The `preparedStatement.close()` call hangs when attempted after an exception occurs during the `executeBatch()` operation with the Redshift JDBC driver.