fixes in connection timing and preparation of complete PoW phaseout