Fix idle timeout