Closing imported database after import