Description
When using the JDBCAppender: if the AbstractDatabaseManager.writeInternal() method fails (e.g. value to large for column size, or any other database error) the database connection is not closed.
I've attached a proposed patch to fix this - please take a look and see if it makes sense to handle write failures this way.