adds os.Exit instead of using returns...

Signed-off-by: Simon Thulbourn <simon+github@thulbourn.com>