Close migration api.