Clean up references to INSTANCE in SyncManager

* Help prevent NPEs, especially during testing where the service
  is constantly brought up and down
* Generally harden the code and make it clearer

Change-Id: If6c1c74d3fe9a89f67f71c9362a15bfecd70fa58
1 file changed