Why is the command queue empty here?