|  | @@ -34,6 +34,7 @@ class TerminalPackage(BaseObject):
 | 
	
		
			
			| 34 | 34 |              simulation_actions: [tuple]=None,
 | 
	
		
			
			| 35 | 35 |              subject_actions: [tuple]=None,
 | 
	
		
			
			| 36 | 36 |              is_cycle: bool=False,
 | 
	
		
			
			|  | 37 | +            sigterm: bool=False,
 | 
	
		
			
			| 37 | 38 |              *args,
 | 
	
		
			
			| 38 | 39 |              **kwargs
 | 
	
		
			
			| 39 | 40 |      ):
 | 
	
	
		
			
			|  | @@ -44,6 +45,7 @@ class TerminalPackage(BaseObject):
 | 
	
		
			
			| 44 | 45 |          self.simulation_actions = simulation_actions or []
 | 
	
		
			
			| 45 | 46 |          self.subject_actions = subject_actions or []
 | 
	
		
			
			| 46 | 47 |          self.is_cycle = is_cycle
 | 
	
		
			
			|  | 48 | +        self.sigterm = sigterm
 | 
	
		
			
			| 47 | 49 |  
 | 
	
		
			
			| 48 | 50 |      def repr_debug(self) -> str:
 | 
	
		
			
			| 49 | 51 |          subjects = self.subjects or []
 | 
	
	
		
			
			|  | @@ -55,6 +57,7 @@ class TerminalPackage(BaseObject):
 | 
	
		
			
			| 55 | 57 |              simulation_actions=['{}: {}'.format(a.__class__.__name__, p) for a, p in self.simulation_actions],
 | 
	
		
			
			| 56 | 58 |              subject_actions=['{}: {}'.format(a.__class__.__name__, p) for a, p in self.subject_actions],
 | 
	
		
			
			| 57 | 59 |              is_cycle=self.is_cycle,
 | 
	
		
			
			|  | 60 | +            sigterm=self.sigterm,
 | 
	
		
			
			| 58 | 61 |          ))
 | 
	
		
			
			| 59 | 62 |  
 | 
	
		
			
			| 60 | 63 |  
 | 
	
	
		
			
			|  | @@ -266,6 +269,8 @@ class TerminalManager(BaseObject):
 | 
	
		
			
			| 266 | 269 |                          ))
 | 
	
		
			
			| 267 | 270 |  
 | 
	
		
			
			| 268 | 271 |                      packages.append(package)
 | 
	
		
			
			|  | 272 | +                    if package.sigterm:
 | 
	
		
			
			|  | 273 | +                        return packages
 | 
	
		
			
			| 269 | 274 |              else:
 | 
	
		
			
			| 270 | 275 |                  try:
 | 
	
		
			
			| 271 | 276 |                      while True:
 |