fixed possible IOError Exceptions in close_ssl, version 0.4.2