Added missing event deregistration
APITester Project/Code