PHP threads (process) manager