prevents exception from being thrown if trying to record while already recording.