add trylock test