gru: fix GRU interrupt race at deallocate