clean shutdown chain node in case of an interrupt