If you have multiple browser threads then you can add a date column in database for each account. When some action is finished then you can add 30 minutes to the date now and add it to the database of that particular account. Then add a check condition in the beginning of the thread which checks if the current date is less or greater than the database date. If it is greater that means there is still time left and then close that thread without opening browser.
MODULE ASYNCHRONOUS FUNCTION CALL
-

ASYNCHRONOUS module is used to work with asynchronous functions. Asynchronous functions are special action functions that run independently of the main work of your script, in parallel with it, and which can be suspended midway through execution. The call of ordinary functions is accompanied by the strict execution of the entire chain of actions and the return of the result.
In the case of an asynchronous function, you can run it in parallel without interfering with the work of the main function and receive the results of execution while passing through the automation script. For example, if you need to work with two sites at the same time: the first site monitors the arrival of a code from an email message or collects any information necessary for another site, and the second site waits for this letter to be received or waits until the necessary information is written to the variable.
More information in telegram chat @bas_english