Update register.lua

Added kick players on shutdown.