Or you could have the method take care of how long it runs. It could capture the start time and get and test the current time as it executes and return when it has run long enough.
See the System...