Due to group install we must protect restart by fencing it with
flush_handlers