Man attacked by dog in West Hartford is recovering