Purget updated to remove straggling pid files