patch submitted to fix race condition on cancel
Authored by: nabber00 2008-08-12
Parent: [r216]
Child: [r218]