classes: actually, loop schedulePing only when connection_thread is alive
classes: actually, loop schedulePing only when connection_thread is alive

Related to #152. Probably still not perfect, but shutdowns are somewhat faster than they were before.

GLolol/PyLink