hashtable not protected from race conditions