return this from exit - fixes #245
Merge pull request #327 from connyay/issue-245

return this from exit - fixes #245