Cancel hanging Local Agent engine requests (#4298)