Thread is classified as an Event as well now and therefore it is automatically cleaned up upon module unloading

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>