Add function to handle data under network unconnected situation.