re connect if server droped the connection