attemt to add timeout to read