public function signalHandler($signo)
{
switch ($signo) {
case SIGTERM:
$this->runtimeTask->getOutput()->writeln("<fg=red>Got SIGTERM.</fg=red>");
$this->killAllChildren();
exit;
case SIGINT:
$this->runtimeTask->getOutput()->writeln("<fg=red>Got SIGINT.</fg=red>");
$this->killAllChildren();
exit;
}
}