Adding ping to prevent session lost.. there must be better workaround to this