Should this be moved to the ensure? Otherwise we won't close the instrumentation.