No, he said he thought about contacting John numerous times. Which means that every single time, he decided not to.
Nobody’s saying anything about Sherlock forgetting him or not caring about him. It’s important to uncouple that from the issue of Sherlock causing John pain. It’s absolutely possible to do terrible damage to people you love. It’s even possible to do terrible damage to people you love without ever meaning to.