[#79692868] adding in proper exit functions

wercker steps require special exit functions
to be called in the event of success or failure