minor changes, following analysis by FindBugs (doesn't actually fix the
concurrency issue https://github.com/vorburger/MariaDB4j/issues/10)

Signed-off-by: Michael Vorburger <mike@vorburger.ch>