fixes #5 fix stopClient behavior