mozilla-services/android-sync — comment on commit a2e45d1c99fe8d61db9049f2ff2aa6537b0b42a1
File: src/main/java/org/mozilla/gecko/sync/stage/SyncClientsEngineStage.java line 56
By rnewman:

You can't do this; you'll close the database before the HTTP request finishes!