temporary changes setting timeout value to 499 millisec for the select loop