add timeout in fetching the topic tree