set timeout,thread sleep,wait response, close when have response