Convert concept of cancel to close
Prefer not to exit() from library code
cancel -> close
Use a keepalive to detect dongle disconnection on XP
Avoid using Boost.Log's TimeStamp b/c of setlocale issues