tbf: Move the check if the window is stalled to a separate method
2 files changed