expose read timeout function