convert poll interval to ms