Fixing logic error in taskscheduler - needed to move suicide logic up into taskPlugin.get