Added ping() with reconnect abbility