[T4350][FIX] ensures 30 seconds have passed since the last time get_next_invoice_number was invoked in the same POS session