Fixing the exponential timeout adjustment