fix timeout = infinity