Remove client's teams only when game is running and exit status is 'incorrect exit'. Frontend still sends excessive ROUND_FINISHED, so the bug is not fixed completely.
For instructions, please visit: http://code.google.com/p/hedgewars/wiki/BuildingOnWindows