Set Timeout in the run method instead setting inside each function