do at least one mysql_free_result for all queries