HORNETQ-1201 Avoid races resetting serverLocator0 and Activation.close(boolean).

Hopefully this will solve the intermittent failing tests due to
ClientSessionFactories left open.
Merge pull request #1067 from FranciscoBorges/master

Avoid race at replication activation