The vim._extui.messages module uses multiple timers that last 2 or 4 seconds. If these timers aren't finished when a test ends, there will be a 2-second delay on exit with ASAN or TSAN.