Fixes reading new socket value.