spawn captured fd fstat: EBADF:fstat
main fd still valid: true
