change the ping timeout mechanism 

but haven't fix "DirtyReactorAggregateError" for test_ping_timeout