Fixed crash when invoking Dota2Client.exit()

The crash happens when `Dota2Client.exit()` is invoked while the Steam client is not loggedOn. Specifically, attempting to invoke Steam.gamesPlayed() while not loggedOn.