Properly delete dockControl

Makes it easier to reload the module