Fixed deadlock when resizing hashtable-bucket multiple times