Add trylock in Windows implementation of mutex.