Close client after scheduler disconnect

Looks like you are only setting it to `nil`, so this is a non-issue, right?