Preventing the Clogging of Crude Oil Pipelines