Fix exceptions handling in SCA.

Otherwise many exceptions may be suppressed.