I suspect that the time interval for the function suspend_until() may be too short.
If that is the case, then how can I increase it?