add Logger
add Logger and change try-cash process
fix bug : can not release thread then anomalous client exit .