code: function() {
          registerDeviceTimeoutId && clearTimeout(registerDeviceTimeoutId);
          registerServerTimeoutId && clearTimeout(registerServerTimeoutId);
          checkIfSocketHasOpennedTimeoutId && clearTimeout(checkIfSocketHasOpennedTimeoutId);
          socketReconnectCheck && clearTimeout(socketReconnectCheck);
        }
docs: *****************************************************
  P R I V A T E   M E T H O D S            *
  *****************************************************