Update ajax.php

Ensure aquireLock doesn't interfere with renew/release
Merge pull request #335 from clonemeagain/patch-4

Update ajax.php

Reviewed-By: Peter Rotich <peter@osticket.com>
Merge branch 'develop' into develop-next