clean up setup_ping_timer, memory leak still persists.
Merge branch 'master' into c
update generated_c