Fix: crm_resource: Wait for a reply for each request to crmd

Otherwise if it exits once it gets the first reply, the later requests
will probably not be handled.
Merge pull request #376 from gao-yan/crm_resource-reply

Fix: crm_resource: Wait for a reply for each request to crmd