Returning early from callback with err