Make sure, processing is finished (has a return code)