dirtyfilthy/metassh — pull request #2 by egypt (2012-01-08 05:49:44+00:00)
Title: This commit would fix issue #1.  A mutex might be a cleaner solution, but this seemed the easiest way to handle it

Channel#close gets called lots of times, so make sure that closing the
lsock doesn't break things by rescuing IOError.