Removing ThreadListener from Plugin class