fixed crash on exit caused by unregistering the host. god damn unity wtf