[MUS-14] fix bugs that crashing while the network doesn't connect