public function signalHandler($signo)
{
switch ($signo) {
case SIGINT:
$this->output->writeln("Caught SIGINT");
break;
case SIGTERM:
$this->output->writeln("Caught SIGTERM");
break;
default:
$this->output->writeln("Caught {$signo}");
break;
}
$this->output->writeln("Deleting stack {$this->currentStack->getName()}");
$this->currentStack->delete();
exit;
}