add some more slave connection management stuff