Fix problem with start order of hooks and stopping of ct_util_server