Fix NULL socket crash
In some cases, when server closes unexpectendly the client may try to send data to the server while it's socket has already been destroyed, provoking a segfault. This fixes it.
System updates will be applied on Nov 25th between 7am and 9am, EST (UTC-05:00). This site will have intermittent downtime during that time.
In some cases, when server closes unexpectendly the client may try to send data to the server while it's socket has already been destroyed, provoking a segfault. This fixes it.