[SPARK-3736] Addressing PR comments related to reconnection.

- scheduledReconnectMessage --> scheduledReconnectTask
- A log statement in the master is printed if a worker that was
unregistered and not in its worker set sends a heartbeat.