Socket now elegantly closed.