NXP-12866: Ensure to end custom GC after test