Pipeline dewatering by Pigging process