do not flush table immediately after creation. this seems to cause a deadlock