Solved problem with reconnection