feedloader correct thread shutdown after undeployement