exiting process when swamp file is not valid (needed for removing the swamp pid file)