nitdbg_client: exit if not connected (instead of getting a SIGPIPE)