add default ctor for threadpool
 .
 .
 add while to try to connect
 prepare to test