FIX: shutdown and destroy APIs