Fixed exit hanging, logthread was stuck. New trioniccanlib.