Is it my fault?

This hasn't happened before but last night I was giving my boyfriend a handjob and it was taking ages but he seemed to be enjoying himself and then I heard my parents outside and we jumped up, but soon got back to it but after afew more mins he just because soft. Did I just do a really bad job?