Taking profits is never a problem. As long as you are taking in profits, even if you leave money on the table things are fine.
It is when you try to overstay your welcome and you get clobbered. Since risk increases rapidly as the options get closer to expiration.