Queue system in php