Fix ConcurrentModificationException when creating tables and executing SHOW TABLES in parallel. Reported by vvoytovych@llnw.com.