public TurnOffTimeoutActor(TestLatch timeoutLatch, AtomicCounter counter) { _timeoutLatch = timeoutLatch; _counter = counter; Context.SetReceiveTimeout(TimeSpan.FromMilliseconds(500)); }