add task remain callback