<s>[INST] In the given code, the `commit` function creates a new bambora payment. If you call the `commit` function 3 times without the payments being settled, the payments would get cancelled because after 3 requests bambora cancels the pending payments. 

Currently, if the `commit` function is called 3 times in an interval less than 500ms, 2 of the payments would be cancelled and the description would be wrong as it would be a leftover description from the previous attempt. This could lead to problems with a large amount of retries generating lots of cancelled bambora payments.

How would you handle this to prevent the payments from getting cancelled, but keeping the commit function queries simultaenously?[/INST]