code: func (stub *Stub) Deactivate() {
  	stub.lock.Lock()
  	defer stub.lock.Unlock()
  	if !stub.isActive() {
  		return
  	}
  	stub.RemoteContext.Abort()
  	stub.RemoteContext = nil
  }
docs: // Deactivate deactivates the Stub and
  // ceases all communication operations
  // invoked on it.