wip: allow bitmap decodes to cancel if no longer needed

Change-Id: I996450136d408e7e56b6dc685c122f724c4cd1cc