used to implement sqlite3_busy_timeout() and PRAGMA busy_timeout.
callback might be invoked with two arguments.
database and the cycle repeats.
SQLITE_BUSY to the application instead of invoking the busy handler.
both processes invoke the busy handlers, neither will make any progress.
handler is not reentrant.  Any such actions result in undefined behavior.
statement that invoked the busy handler.