catch connection error in asyncsave; refactor imfs exception classes
group app task into one process, inner using thread based slave