waitForActiveTable is now safe from being called multiple times simultaneously