sclang: terminal client - bug fixes

* avoid deadlock in sendSignal
* fix thread-safety issue with asio timer
* initialize readline only when used

Signed-off-by: Tim Blechmann <tim@klingt.org>