close all widgets when socket closed