EMFILE error when loading a lot of images

it's always crash at Kitkat(4.4.x) version when we load a lot of resource by `AQuery`. i found out some root cause in here. but not sure this solution is ok. please help me to review this, thanks.