restarting nn using delayed to make sure it starts