Timeouts: Fixed incorrect parameter type in functions and added an example