Send null after escape key to avoid pause while waiting for sequences.