Properly close wiki request