Fix exit

Change-Id: I5da869c729c668c0fadaa74f5e83aac3bf81c78b
Merge pull request #5 from tribal-tec/review

Fix exit