Guantanamo Bay didn't create anti-Americanism in the Islamic world. Al-Qaeda existed and carried out 9/11 before Guantanamo bay was established, so it is unlikely that closing the detention centre would make any of those who hate the US now reconsider. Furthermore, closing the facility could be seen as a propaganda victory for the US' enemies, and further embolden terrorist organisations.