return this from exit - fixes #245