Update ajax.php

Ensure aquireLock doesn't interfere with renew/release