Used timeout support in read_fully