Sure, that's ok for me, but I'm going to do it myself, do you mind ?

I've seen it used already for the connection object, so maybe you could
reuse an existing flag or something like that... It was called _ending
or _closing or something similar...