[Bug: 21.4.18] Crash in 'M-x shell' after using 100% CPU for 2 hours