connect
run once
run pings
stop pings
disconnect