API adapter call changed to close