Gracefully handle unstable network conditions.

Change-Id: Iada3001ceb93b8da328020be7672679c26eb5a02
Merge "Gracefully handle unstable network conditions." into cm-10.1