fixed bug PreparedStatement.getMetaData failed if result set was closed
reported by Emmanuel Guiton
Merge pull request #108 from davecramer/master

fixed bug PreparedStatement.getMetaData failed if result set was closed