Switched from HackSocketPollInSet to AlphaSocketPollInSet. A solution with better performance is needed, but for now this will have to do.