[DROOLS-516] implement stream queue garbage collector
(cherry picked from commit 9d12847c9a79e3ce642f248d0f7cbf2035649666)