Fixed Socket.Poll() logic