allow to stop app while an upgrade is running