ends game on server when last player leaves