Changed pause method. IPF does not stay open with either method.