Handling connection drops on a mobile client