Disable ping when attached to console.