rename plugin_kill to plugin_kill_thread