Fix: It corrected so that the reading pipe which is not closed might be ...

...closed.

When I repeated the start stop of the resource, the number of opening pipes of crmd increases.
It seems that this occurs when crmd tends to acquire metadata of a resource.
Since I seemed not to close the pipe of this reading, after I finished using, I closed.
Remains of a pipe are prevented by this correction.