changed method how slave copysenderclient connects