Fixed regression introduced in d97debe6962624fd795d988c6efcafbdc1397f2e.

The in_queue list was not being cleared anymore.