[caveman] fix multiple command handles being processed