Fix crashes on no network situation. Add multi-thread for was manager.