Solidification fouling of paraffin wax from hydrocarbons