cover some cases for timeout
since we can't kill threads in thread pool, let's at least

make sure rest-client have a timeout which would fire eventually.
we don't want to lock a thread in a pool.