fix(perf): eliminate redundant terminal wake work (#2962)