Emulated timeouts for synchronous operations.