Added a delay when recording.