Support timeout in execute method