code: function _connectionError() {
    _connectionError = _asyncToGenerator(
    /*#__PURE__*/
    _regeneratorRuntime.mark(function _callee8(originalError) {
      var count, addObj, text, newError;
      return _regeneratorRuntime.wrap(function _callee8$(_context8) {
        while (1) {
          switch (_context8.prev = _context8.next) {
            case 0:
              _context8.next = 2;
              return countChannelFolders();
  
            case 2:
              count = _context8.sent;
  
              if (!(count < 30)) {
                _context8.next = 5;
                break;
              }
  
              return _context8.abrupt("return", originalError);
  
            case 5:
              addObj = {};
              Object.entries(originalError).forEach(function (_ref5) {
                var k = _ref5[0],
                    v = _ref5[1];
                return addObj[k] = v;
              });
              text = 'BroadcastChannel.create(): error: ' + 'This might happen if you have created to many channels, ' + 'like when you use BroadcastChannel in unit-tests.' + 'Try using BroadcastChannel.clearNodeFolder() to clear the tmp-folder before each test.' + 'See https://github.com/pubkey/broadcast-channel#clear-tmp-folder';
              newError = new Error(text + ': ' + JSON.stringify(addObj, null, 2));
              return _context8.abrupt("return", newError);
  
            case 10:
            case "end":
              return _context8.stop();
          }
        }
      }, _callee8);
    }));
    return _connectionError.apply(this, arguments);
  }
docs: creates the socket-file and subscribes to it
  @return {{emitter: EventEmitter, server: any}}