Created by: Thunderbrook
when call stop_worker(), pslib will core before, this commit solve the core in stop worker.