AI cleanup on timeout