Merge pull request #56 from dk2k/SM-5655_try_w_resources_for_stmts

SM-5655 implemented try-with-resources for SQL statements