Also close the connection for asis files.