Loops might be okay too. As long as it doesn't freeze the application calling it.

EDIT: I was thinking, even if it froze, i could just call it in another thread.