feature: added disconnect function.