Made I/O non-blocking on receive