Make sure tryToAcquire won't return a negative value