try to solve the restart notification logic