trying to fix lockingQueue cleanup