In some storage tests, kubelet is stopped first and the test check node NotReady state. However, if it fails to have this state, kubelet could not be restarted because the defer function is placed after the stop kubelet command. This PR fixes this issue.