socket refresh