[bug] Fixed a bug in plugin worker manager (Fixed #324)