I've had it happen.

Most of the time, the female is just not receptive at that particular moment, but given a couple of hours, things change