Added socket-close.