- always calling close on socket even if isClosed names it to be closed