* thread.c (add_thread): Move observer call to ...