keep-alive connections need to be closed in two instances: - [ ] destruction of the client - [ ] by calling a disconnect method