fix race in androidble shutdown, reported on dev-console