Worker pinger will sleep longer if connected

Sleep 5s if looking for master. 30s to ping master.