Enabled signal handling for agent termination