This was originally proposed as a second option for #1571400: Port auto-closing functionality to D7, but I guess we needed to ship ASAP, so we went with the simple porting of what we had in place for D6.

Once the port of d.o to D7 is done, we can revisit this and see if it's worth doing.