Bit of code clean up and make io worker a proper thread (AsyncTasks are serial).