marking tasks as done even when error occured