agent: Add warning for slow scripts