timeout support in http client and /wait