daemon: Reduce duplication with terminate_client function

Any time we need to end a client connection we can just end their
communications using terminate_client.