[core distrib].c: Add missing calls to ssa_close_log

Signed-off-by: Hal Rosenstock <hal@mellanox.com>