This fixes the socket leak in the case where a primary connection was closed due to EOF on the socket, the secondary did not get closed.
This fixes the socket leak in the case where a primary connection was
closed due to EOF on the socket, the secondary did not get closed.

stevenraspudic/resource-agents,asp24/resource-agents,stevenraspudic/resource-agents,asp24/resource-agents,asp24/resource-agents,stevenraspudic/resource-agents