[serialport.py] Added 'closed' property.
Increased resilence of communication between K-Stack and TPUART-Adapter.
Added console signal (CTRL-C) handler support.
[Win_Timer.c] Fixed timer cancellation.