Destroying the singleton at the end