Review: Fix a possible access control bug
Review: Fix a possible access control bug

Currently it did not cause a bug but it will do if openning and closing
a thread requires different authority.

violetag/demo,oolso/yobi,brainagenet/yobi,ahb0327/yobi,doortts/fork-yobi,bloodybear/yona,violetag/demo,doortts/fork-yobi,yona-projects/yona,Limseunghwan/oss,doortts/forked-for-history,bloodybear/yona,ihoneymon/yobi,Limseunghwan/oss,bloodybear/yona,oolso/yobi,naver/yobi,naver/yobi,yona-projects/yona,yona-projects/yona,yona-projects/yona,doortts/forked-for-history,ihoneymon/yobi,ChangsungKim/TestRepository01,doortts/fork-yobi,brainagenet/yobi,doortts/fork-yobi,Limseunghwan/oss,naver/yobi,ihoneymon/yobi,brainagenet/yobi,ahb0327/yobi,oolso/yobi,doortts/forked-for-history,ahb0327/yobi,bloodybear/yona,ChangsungKim/TestRepository01