diff --git a/ATxService/AutoTx.cs b/ATxService/AutoTx.cs
index 27806a74988c1ab04f4495e0e50ca527696ea744..770e354c4eafc98b03cefeef3da770b606e80fa7 100644
--- a/ATxService/AutoTx.cs
+++ b/ATxService/AutoTx.cs
@@ -99,6 +99,9 @@ namespace ATxService
         /// AutoTx constructor
         /// </summary>
         public AutoTx() {
+            // make sure to receive system shutdown events to react properly:
+            CanShutdown = true;
+
             InitializeComponent();
             SetupFileLogging();
             Log.Info("=".PadLeft(80, '='));
@@ -440,6 +443,8 @@ namespace ATxService
             Log.Info("RoboSharp version: [{0}]", roboAssembly.GetName().Version);
             Log.Info("Robosharp product version: [{0}]", roboVersionInfo.ProductVersion);
             Log.Info("=".PadLeft(80, '='));
+            Log.Trace($"ServiceBase.CanShutdown property: {CanShutdown}");
+            Log.Trace("=".PadLeft(80, '='));
         }
 
         /// <summary>