minor client cleanup
proper thread stoppage