Close client after scheduler disconnect

switched to `Chan`: 1c34e01