Removed duplicated arch instance
Fixed close null mutex and condvar