The only sort of fix that I found for the A340 is when this happens, close the sim and restart your flight. Then go into the EFB of the aircraft, go to the autosafe icon in the bottom of the screen, and load the last save. You can then resume your flight where you ended it.