fix issue with unnecessary cpu usage while client is paused

This fixes the issue described in http://www.battlecode.org/contestants/forum/2/43/