Changed non-blocking read to “short-blocking” 50ms for Windows, 1sec for other OS