s3: tdb: On some platforms pthread_mutex_trylock() returns EBUSY not EDEADLK.