Fixed socket error handling on Linux
Fixed IoTest.jg