socket open until timeout