change call to client.stop
Merge pull request #5 from poupotte/debug/restart

Restart