Merge pull request #1844 from clebertsuconic/2.3.x

re-applying JGroups fix after fixing test
https://bugzilla.redhat.com/show_bug.cgi?id=1143818 - reset connected flags after failover
Merge pull request #1863 from andytaylor/2.3.x

https://bugzilla.redhat.com/show_bug.cgi?id=1143818