Decrease maxWindow on timed out only once