mancuso , played by robert loggia , was portrayed as a toss-out-the-book maverick , marking time for his retirement , when politically motivated fbi bosses gave him an impossible assignment because they were sure he would fail .