Fixed thread bug introduced in c6557b1.

Only the first user thread that ran would have its callback function executed.