Fix random crash when request backgrounded