adding read timeout