cleaning up queue