Resetting only forgot the key, so the pending timeout still fired and rescheduled itself: the sidebar kept reloading repos every 5 seconds after nothing was left to replicate, and after it unmounted.