The mechanical stability of colloidal dispersions