Refactor: tools: Reduce duplication in crm_mon.c:clean_up()
Signed-off-by: Reid Wahl <nrwahl@protonmail.com>