[controller/images] support lookup by image checksum
[controller/sources] fixed hang when destroying source with large track count