public functionexecute() : void {
$queue = P\Utils::queue();
while ($this->handles || !$queue->isEmpty()) {
// If there are no transfers, then sleep for the next delayif (!$this->active && $this->delays) {
\usleep($this->timeToNext());
}
$this->tick();
}
}