Resolve promise when terminating before starting audio