powertac/sample-broker — pull request #6 by govertbuijs (2013-02-06 13:57:55+00:00)
Title: Added timeout (12 mins) for unresponsive server after successful login

There was already a wait timeout for when the server became unresponsive.
But this was ignored when the game hadn't started yet (index == 0) because waiting for other brokers to log in might take longer than maxWait.

So when the server stopped while still waiting for brokers, the already logged in brokers would never reset.