fixed Putc to be non-blocking