fixes #607 Add a callback for the ydb to get the lock timeout