When reusing a node we lock it but don't check if the state is still
ready. There are probably few to no possibilities how this can happen.
But it's better to guarantee this condition than to think that this
should be ok.
Change-Id: I365de6accb28b538dae5ff1dfb6c4a9966e50b01