delete bool bUploadSlave and newconnection