Multithreading get/release order fixed.