Loop on client until disconnected