Fix handle leak.