Fixed memory leak in sqchat_network_disconnect