public async Task StartListening(ServerCore serverCore) { _running = true; while (_running) { serverCore.Receive(); await Task.Delay(1000 / _config.TickRate); } }