Release version 2.1.1

add thread control methord:finish thread with telling main
develop version 2.1.1_2

add thread controlling and http error capturing