Deattach loop devices while umounting image files