Fix overflow in SQLite busy handler pthread cond timed wait.
Fixed issues in enforce task, it finaly completes a run.