improve final report of tclient
fix logic of active_clients in client context
optimize logic when client fall asleep