Scheduler: Close connection after MK_PLUGIN_STAGE_10

Signed-off-by: Vladimir Cernov <gg.kaspersky@gmail.com>