implement http connection idle timeout