chansrv: work on smartcard stability, handle multi threaded calls, app crashes, etc