def close(self): ''' Close the bound socket or named pipe of `self`. ''' return self._listener.close()