Fix missed defer.