Keep safe from unexpected resume