Fixed a nullpointerexception.
Added closing of game after failing/closed connection