modify the autogetsofa func

change the flow of the func.
now the select in tho for{},if timeout,it will call the get sofa func to get sofa.other it just wait for the timeout or the stop signal