add timeout of afnmanager