Fix timeout checker