update to close timeout sock