Add infinite loop feature for PSF2.