Shuffle that code
Unregister teams on shutdown