Is there any chance you could replace select by poll? Please have a look at https://stackoverflow.com/questions/970979/what-are-the-differences-between-poll-and-select Regards