Erase pointers to structures which are freed at server reset time. (cherry picked from commit 492c7680)