cleanup

open override fun cleanup()

Clean up all fields to avoid being reused with an incorrect state.