fix typo
atomic close of Socket