Add 'accepted' handling to support better feedback for agent related tasks.

Part of the agent related task timeout story.