Fix an infinite loop that occurs in the failover thread when a base endpoint is attempting a recovery from a failover endpoint.
Fix an infinite loop that occurs in the failover thread when a base
endpoint is attempting a recovery from a failover endpoint.

This issue was caused by the introduction of transaction timeout
(aka read timeout). This generic system now allows an endpoint to
return no data without being considered as closed (this is when a
io::exceptions::shutdown exception is thrown). However the failover
thread itself never throwed this exception but returned no data
when the failover endpoint was not open, hence the bug.

This commit fixes #3527.

git-svn-id: a49aa41e49c69a6ab6ef43f172843a2fef6cb475@1171 7c7d615a-03b3-410d-a316-1135b1bd9499

centreon/centreon-broker,centreon/centreon-broker,centreon/centreon-broker,centreon/centreon-broker,centreon/centreon-broker