added read timeout to initial connection