Fixes issue #32 : if connection is already closed, do nothing
Merge pull request #33 from StephG38/master

 Fixes issue #32 : if connection is already closed, do nothing