Bug 1062758 - Try to shutdown gracefully on Android r=mfinkle