- always calling close on the socket even if marked to be closed