Better reconnection with ping server task