Don't accept trace events when the controller has already been closed.
Merge pull request #125 from alxhub/fix-tracing

Don't accept trace events when the controller has already been closed.