disable method
Disables the socket, which will block any data from being sent over the network, regardless of the destination
Implementation
void disable() {
isEnabled = false;
_heartbeats = 0;
connectionStrength.value = 0;
connectionStatus.value = false;
}