am d95266c6: Merge "Detect and handle premature termination of a recording session" into kraken