clear refresh on ws closed