added callback so the rest of the commands on the queue get processed.