revert os.Exit(1), closes issue #4