hotswap: allow class reload task cancelling as long as no classes are actually reloaded