fix memory leak for core.thread.slock Mutex