subprocess: Fix a potential GCancellable leak