Added timeout to connection request