Use update_all to close order adjustments

That would use one single query to update all adjustments

Fixes #3512