Modeling the rupture of a capillary liquid bridge between a sphere and plane