reconnect when socket disconnects
0.2.4