Add an option for automatic shutdown or sleep after recording is finished.