trigger: rework timeout handling and command queueing