add shutdown hook for jansi

need to shutdown the jansi printing so ctrl+C actually works properly
, otherwise sometimes it will change the users logging colors