Had app crashes when you go to Airplane mode

We got Signal 13 about Broken Pipe. This is the fix.