try reconnect to server every second