Slave Recovery.

TODO:
Replace bg jobs to threads.