Update how commands handle exceptions and exits for threading support