add connection heartbeat ping fix #12