Fixed high CPU usage due to Socket.Select not blocking the thread properly when the game started

As discussed in #7237.
This whole file needs a StyleCop cleanup. Waiting for the students at scm.thm.de/openra/openra-develop to merge in theirs.