raise stderr only on abnormal termination