The maximum lifetime of the quark-gluon plasma