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

As discussed in #7237.