`cleanup` should probably be run in a `finally` block in case the `importFrom` fails unexpectedly.