mod: merge ae_socket_async_timeout's logic to ae_socket_timeout