Fixed bug where event properties were not being terminated upon end.