Reworking the error and interrupt handling in the executable and action plugin exec.