Install own signal handler to trigger shutdown.