There are no free lunches with dividends (share price reduction). If you exercise the call in order to be eligible to receive the dividend, you introduce market risk into the equation. If the stocks rallies on the ex-div, you do better than having sold the call prior to that day. If it drops, you do worse.