in Bolts/src/bolts/Task.java [73:84]
public void execute(Runnable command) {
int depth = incrementDepth();
try {
if (depth <= MAX_DEPTH) {
command.run();
} else {
backgroundExecutor.execute(command);
}
} finally {
decrementDepth();
}
}