modify de-registering to work with miner queue