AGENTS-102 - Gracefully handle SIGTERM signals