pass timeout as an argument to runProcess()