Application.SleepCurrentThread

You may be using the wrong hammer. Look at @olivierV issue and @Christian_Schmitz solution on this thread: The entire app hangs during the SQLITE timeout. This may be very similar to what you are attempting to work around.