code: def _initialize(cls, port, secret):
          
          cls._port = port
          cls._secret = secret
docs: Initialize BarrierTaskContext, other methods within BarrierTaskContext can only be called
          after BarrierTaskContext is initialized.