async close - fix set datalength