Don't crash if Mnesia is starting or stopping
Merge bug26226
stable to default