my boyfriend lost it during sex

ok, half way through sex, he lost his hard on.....is this normal? this happens often and I'm confused