timer/remove: make sure instance is stopped before deleting it