Added recording in progress check

I added a check for recording-in-progress to prevent duplication (triplication, etc.) of captured requests.