Fix for hanging connections

* client.stop_event_stream() was not closing

Change-Id: Idf38565332a7865063caf614992ba376804da1a7