Added disconnection implementation