When we unlock the mutex, we should set notify_collector back to NULL.