foreach_statement: use close_mysql_statement