fix crash when SIGPIPE is received on socket close after returning from background
fix crash when SIGPIPE is received on socket close after returning from background

flowsprenger/RxLifx-Swift,flowsprenger/RxLifx-Swift,flowsprenger/RxLifx-Swift