termination bulletproofing to handle (potential) random exceptions gracefully