Fixed unnecessary mysql_close()