SRF: avoid leaking resources if not run to completion

When Who What
2020-03-17 01:29:45 Justin Pryzby (justinpryzby) Closed in commitfest 2020-07 with status: Committed
2020-03-17 01:29:22 Justin Pryzby (justinpryzby) Changed committer to tgl
2020-03-16 15:57:19 Justin Pryzby (justinpryzby) Changed authors to Justin Pryzby (justinpryzby)
2020-03-16 15:57:19 Justin Pryzby (justinpryzby) Changed targetversion to stable
2020-03-16 15:56:56 Justin Pryzby (justinpryzby) Attached mail thread 20200308173103.GC1357@telsasoft.com
2020-03-16 15:56:56 Justin Pryzby (justinpryzby) Created patch record