Work on issue #33
Solved: client get disconnected in case of failure to connect to backend