Fixed memory leak.

c.Msg was never getting closed on client exit. This should fix issue #48
Merge pull request #50 from empathetic-alligator/master

Fixed memory leak.