Printing the winner and disconnecting whoever sends an invalid command.