Fix execute_script method to avoid infinite wait.

Fix execute_script method
Add support for timeout to execute_script

Change-Id: I8375ae174bc4631f5f56ce575be343d0f58d0318
2 files changed