Update mysqldatabase.class.php

Destructor should call the close method.