mark healthy connection immediately when heartbeat succeeded

fixes #3014