add ability to abort from controller::onunload