Use single defer.