It is rather trivial to resource exhaust an API using the https://github.com/bandwidth-throttle/token-bucket/blob/master/classes/BlockingConsumer.php
You might consider using a Request Queue with Memcache or Redis if you wanted to implement a better version of BlockingConsumer.