implementation of 'reconnection' finished