Had app crashes when you go to Airplane mode

We got Signal 13 about Broken Pipe. This is the fix.
Merge pull request #146 from aanikin/patch-1

[TestFlight] Had app crashes when you go to Airplane mode