PHP Multitask and queue management