client: added disconnect method