It's not a good idea to surprise someone with bad news. Learn to only have surprises that are great news. Over communication helps prevent surprises so if someone is surprised, you have not done a good job of communicating. Be open to changing that. After all, it's the right thing to do and it models the way for others.