public async static Task<bool> CheckBattlelogConnectionAsync() { bool task = await Task.Run(() => { return CheckBattlelogConnection(); }); return task; }