Add htable_free() and don't forget to update ht_size when removing()