Adding is_closed to task serializer