Add option to supress exception on stderr

In this way the caller can use the return status without writing
exception handling for this case.