Fixed: event shutdown being called twice.