swap the 'synchronized' and 'if' statements to prevent a race condition where the postOffice could go null after the messagingServerControl was checked when stop() was called by another thread
fix test to use persistent queues and non-infinite reconnect-attempts
Merge pull request #1634 from jbertram/group-fix

Group fix