Fix Bug 262230

Fix Bug "[CLI] disconecting ios device when open-device-log-stream is active causes CLI to become unresponsive"
http://teampulse.telerik.com/view#item/262230