Fixed "timeout" option is deprecated issue.
Support both array and comma separated string as arguments.