init timeout for sock astream