Let's keep a list of all sockets and timers in our modules and clean them up if we unload

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