Updated timeout logic for manager_api_call