fix : use forp_end at shutdown