[bitshares/bitshares-core] cli_wallet doesn’t exit on quit nor EOF (#1216)

**Bug Description**
cli_wallet used to terminate when receiving EOF (or CTRL-D), or after issuing the recently added quit command. In latest develop, it just hangs and doesn’t accept any more input.

**Impacts**
Describe which portion(s) of BitShares Core may be impacted by this bug. Please tick at least one box.
— [ ] API (the application programming interface)
— [ ] Build (the build process or something prior to compiled code)
— [x] CLI (the command line wallet)
— [ ] Deployment (the deployment process after building such as Docker, Travis, etc.)
— [ ] DEX (the Decentralized EXchange, market engine, etc.)
— [ ] P2P (the peer-to-peer network for transaction/block propagation)
— [ ] Performance (system or user efficiency, etc.)
— [ ] Protocol (the blockchain logic, consensus, validation, etc.)
— [ ] Security (the security of system or user data, etc.)
— [ ] UX (the User Experience)
— [ ] Other (please add below)

**Steps To Reproduce**
1. run cli_wallet, then either
2.a type CTRL-D
2.b enter «quit» command
3. see that it doesn’t exit
4. try to execute additional commands

**Expected Behavior**
cli_wallet process should exit after either 2a or 2b

**Host Environment**
— Host OS: linux (openSUSE)
— BitShares Version: latest develop

## CORE TEAM TASK LIST
— [ ] Evaluate / Prioritize Bug Report
— [ ] Refine User Stories / Requirements
— [ ] Define Test Cases
— [ ] Design / Develop Solution
— [ ] Perform QA/Testing
— [ ] Update Documentation

Добавить комментарий