delete unfinished securities
don't double delete on cancel
fixed race condition
Merge branch 'secunload'