[mr2811] Fix crash on realmd exit