Close connection in test cases to avoid running out of connections
Merge pull request #35 from dhotson/test-close-connection

Close Mysql connection in test cases