API exception handling (in process...) + output retrieval change