Stopping supply?

Does anyone know how to go about drying up your milk? I exclusively pump and I’m deciding to stop because I’m only getting 1oz per session and it’s too time consuming. But how do I stop without getting a clogged duct or mastitis?