Fixing coffeescript bug, which would 'return' too early and cause exitCallback to not be called