PHP Mutex-lock Resources