Don't try and close messaging client's that are already closed.
Merge pull request #97 from michaelnoonan/ClosingMessagingClients

Don't try and close messaging clients that are already closed