Add missing mysql_close
This doesn't need to be in a while