bool isSqlEngineRunning() { try { using (var _rbrDb = new Rbr_Db()) { _rbrDb.Close(); return(true); } } catch (Exception _ex) { if (counter++ % 10 == 0) { TimokLogger.Instance.LogRbr(LogSeverity.Critical, "Initializer.isSqlEngineRunning", "Exception\r\n" + _ex); } } return(false); }