logswitch fix resolving a potential data loss + statement blocking
bug...
Before attempting to TRUNCATE the sl_log_* tables, we need to
successfully request an exclusive lock. By doing so in an
exception block with NOWAIT option, this can "lose" gracefully.