some change of connection, serious bugs exist!

When data to sync is big enough, it still result in starvation.
basically fix starvation bug, it's not perfect

About the exit of receiver and asender thread, some bugs need to be
fixed. Next step we focus on ACK.