Added result/error callback.

Allow threads to be restarted when dead.