fix(api): prevent $digest already in progress