Converting set timeout