An immediate shutdown of CICS immediately terminates FEPI. There is nothing you can do to influence this process.