Added idle timeout to proxy