What about returning `0` here to handle potentially enqueued commands? It is not immediately clear to me that this cannot be an infinite loop in the worst case.