Error checking on joinGroup