docs: function resetServerState(server, error, options) {
    options = Object.assign({}, { clearPool: false }, options);
  
    function resetState() {
      server.emit(
        'descriptionReceived',
        new ServerDescription(server.description.address, null, { error })
      );
    }
  
    if (options.clearPool && server.pool) {
      server.pool.reset(() => resetState());
      return;
    }
  
    resetState();
  }