remove unused CloseCuckooLogs function
terminate process if exception chain is broken