An atomic-scale perspective on individual thiol-terminated molecules anchored to single S vacancies in MoS$_2$