add some fault handling to the jdbc connection