diff --git a/src/octoprint/util/comm.py b/src/octoprint/util/comm.py index 45975124a..3780dbf04 100644 --- a/src/octoprint/util/comm.py +++ b/src/octoprint/util/comm.py @@ -1554,7 +1554,11 @@ class MachineCom(object): handled = True # process timeouts - elif ((line == "" and now > self._timeout) or (self.isPrinting() and not self.isSdPrinting() and not self.job_on_hold and now > self._ok_timeout)) \ + elif ((line == "" and now > self._timeout) or (self.isPrinting() + and not self.isSdPrinting() + and not self.job_on_hold + and not self._long_running_command + and not self._heating and now > self._ok_timeout)) \ and (not self._blockWhileDwelling or not self._dwelling_until or now > self._dwelling_until): # We have two timeout variants: #