retry up to 5 times upon failure of resetting the node