Maybe it's one of your programs on your computer that takes a very long time to shut down. Try finding out what program it is and if you need that program or not. There's probably some error in that program making it harder to shut down. So maybe try installing it again if you would like to keep it.