add method addUncompletedTask()
change catch IOException to  throw