Attempt to fix mySQL issue by explicit close of connection before dropping db