log close errors
Avoid JNDI lookups which block on System properties
Merge pull request #8 from timf/H2PR

cache JNDI lookups