Improved active link detection