Jena: close tdb on shutdown