1. Rewrite network connection/disconnection by Handler/Thread;
2. user shardPerference to store data for next time use.