Now sets busy timeout behavior before switching to WAL mode. The switch to WAL mode can return a database locked error, but setting up the busy retry before switching to WAL allows the program to simply try again. Issue https://github.com/NAVADMC/SpreadModel/issues/225