QPID-6111: [Java Broker] HA - Ensure that when the REF is shutdown sufficient time is allowed to allow any in progress JE ReplicatedEnvironment to complete.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1626954 13f79535-47bb-0310-9956-ffa450edef68