properly call queue_end()
implement min_requests_per_child and max_requests_per_child