Merge "fastagi: record file closed after sending result"