Catch read exception when removing resources from a faulty import