fixes waiting infinitely when default call timeout < 10000
Merge pull request #1425 from gurbuzali/waiting-infitinely-for-trylock/3.x

fixes waiting infinitely when default call timeout < 10000