Prepare tearing down interface.