#59 get test_lock_timeout_callback to work with valgrind. change the type of a sync_fetch_and_add from bool to int