allow resultSet close at any time
test coverage for each file at least 80 percent
bumped version to 0.4.0
Merge branch 'release/0.4.0'