public Controller(int initialParticipants, IPEndPoint controllerPort)
{
_log.Debug("Opening connection");
_connection = RemoteConnection.CreateConnection(Role.Server, controllerPort, _settings.ServerSocketWorkerPoolSize,
new ConductorHandler(Self, Logging.GetLogger(Context.System, typeof (ConductorHandler)))).Result;
_log.Debug("Connection bound");
_barrier = Context.ActorOf(Props.Create<BarrierCoordinator>(), "barriers");
_initialParticipants = initialParticipants;
}