When I'm using the demo or the script itself the recording get aborted after some 6 seconds. How can I improve this?